#ifndef VERTICES_PANEL_H
#define VERTICES_PANEL_H

#include <QWidget>
#include <QtGui>

#include "src/scene.h"

class VerticesPanel : public QWidget {
	Q_OBJECT

    public:
        VerticesPanel(QWidget * = 0, Scene * = NULL);
        ~VerticesPanel();

        void setScene(Scene *);

    signals:
        void done(Object *);

    private slots:
        void changeType(int);
        void changeN(int);
        void changeRX(int);
        void changeRY(int);
        void changeRZ(int);
        void changeQX(int);
        void changeQY(int);
        void changeQZ(int);
        void changeX(double);
        void changeY(double);
        void changeZ(double);
        void add();
        void add(Object *);

    private:
        Scene* scene;

        QSpinBox *nSpinBox;
        QSpinBox *rxSpinBox;
        QSpinBox *rySpinBox;
        QSpinBox *rzSpinBox;
        QSpinBox *qxSpinBox;
        QSpinBox *qySpinBox;
        QSpinBox *qzSpinBox;
        QDoubleSpinBox *xDoubleSpinBox;
        QDoubleSpinBox *yDoubleSpinBox;
        QDoubleSpinBox *zDoubleSpinBox;
        QLabel *nLabel;
        QLabel *rxLabel;
        QLabel *ryLabel;
        QLabel *rzLabel;
        QLabel *qxLabel;
        QLabel *qyLabel;
        QLabel *qzLabel;
        QLabel *xLabel;
        QLabel *yLabel;
        QLabel *zLabel;

        int type, n, rx, ry, rz, qx, qy, qz;
        double x, y, z;

};

#endif
